/** 该文件仅存放用户评论模块相关的接口API */
import myaxios from "../MyAxios";
// 引入路径前缀
import BASEURL from "../BaseUrl";
const { BMDURL } = BASEURL;

const myPlanApi = {
  /**
   * 每周对应的课程
   * @param {Object}} params  {week_id}
   */
  planWeekCourse(params) {
    return myaxios.get(BMDURL + "/v1/plan/plan_course", params);
  },

  /**
   * 计划
   * @param {Object}} params  {}
   */
  planWeek(params) {
    return myaxios.get(BMDURL + "/v1/plan", params);
  },
};

export default myPlanApi;
